﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.AssetManage;
using LJX.SmartPark.Domain.EnergyManage;
using LJX.SmartPark.Service.EnergyManage.Stoichio.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.EnergyManage.Stoichio
{
    public interface IEquipmentTypeSerive : ITransientService
    {
        /// <summary>
        /// 设备类型全部数据
        /// </summary>
        /// <param name="select"></param>
        /// <returns></returns>
        Task<Response<List<EquipmentType>>> GetEquipmentTypeAsync();

        /// <summary>
        /// 能耗用途修改
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Response<bool>> PutUseEnergy(LJX.SmartPark.Domain.EnergyManage.UseEnergy input);

        /// <summary>
        /// 能耗用途显示分页查询
        /// </summary>
        /// <param name="fenye"></param>
        /// <returns></returns>
        Task<Response<List<EquipmentTypeDto>>> GetUseEnergyAsync(Use use);

        /// <summary>
        /// 能耗用途添加
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Response<bool>> PostUseEnergy(LJX.SmartPark.Domain.EnergyManage.UseEnergy input);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Response<bool>> DeleteByIdUseEnergyAsync(LJX.SmartPark.Domain.EnergyManage.UseEnergy input);
    }
}
